﻿using SqlSugar;

namespace DemoUser.Core.User
{
    [SugarTable("tb_brand")]
    //[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
    public class Brand//:Attribute
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        [SugarColumn(ColumnName ="brand_name")]
        public string BrandName { get; set; }

        [SugarColumn(ColumnName = "company_name")]
        public string CompanyName { get; set; }
        
        public int Status { get; set; }

        [FilterIgnore]
        public int ordered {  get; set; }
        public string Description { get; set; }
        

    }
}
